<template>
	<div>
   		<header>
             <img src="../../assets/images/logo.png" alt="">
			 <div tapmode @click="jumpToLogin()" class="login">登陆 / 注册</div>
        </header>
	</div>
</template>

<script>
	import 'assets/css/fontello.css';
	import {openWin} from 'lib/public.js';
    export default {
    	data(){
            return{
				islogin:true
            }
        },
        components:{
        	// headerTop
        },
        mounted(){
        },
		// props:[ islogin ],
        methods: {
        	jumpToLogin(){
				openWin('login','./login.html');
			}
        },

    }

</script>

<style lang="scss" scoped>
	@import '../../assets/css/mixin.scss';
	header{
		padding:10px 5px;
		@include fj;
		@include wh(100%,58px);
		background:#fff;
		img{
			height:100%;
			max-width: 45%;
		}
		.login{
			padding: 5px 10px;
			height:36px;
			@include borderRadius(5px);
			@include bg($bc);
			@include sc(14px,#fff);
			@include fcc;
		}
	}

</style>
